(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
      typeof define === 'function' && define.amd ? define(factory) :
          (global.hxmConf = factory());
}(this, (function () { 'use strict';


let _definedEvn = 'release'; // 定义当前环境
const url = window.location.host;
if (url.indexOf('testm') > -1) {
  _definedEvn = 'dev';
} else if (url.indexOf('vaserviece') > -1) {
  _definedEvn = 'release';
} else {
  _definedEvn = 'test';
}

//配置地址
const conf = {
  test: {
    hxmAjaxUrl: '//testm.10jqka.com.cn/vaserviece/limitUp/index.php',
  },
  dev: {
    hxmAjaxUrl: '//testm.10jqka.com.cn/vaserviece/limitUp/index.php',
  },
  release: {
    hxmAjaxUrl: '//vaserviece.10jqka.com.cn/limitUp/index.php',
  },
};

return conf[_definedEvn];

})));
